package com.xwj.controller;

import com.xwj.client.UserClient;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xwj
 * @date 2020/7/22
 */
@RestController
public class UserController {
    @Autowired
    private UserClient userClient;

    @GetMapping("/insert")
    public void insert(){
        userClient.insert();
    }
}
